package com.leesche.zcsp.node.web.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PubCommetCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PubCommetCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCommetidIsNull() {
            addCriterion("CommetId is null");
            return (Criteria) this;
        }

        public Criteria andCommetidIsNotNull() {
            addCriterion("CommetId is not null");
            return (Criteria) this;
        }

        public Criteria andCommetidEqualTo(Long value) {
            addCriterion("CommetId =", value, "commetid");
            return (Criteria) this;
        }

        public Criteria andCommetidNotEqualTo(Long value) {
            addCriterion("CommetId <>", value, "commetid");
            return (Criteria) this;
        }

        public Criteria andCommetidGreaterThan(Long value) {
            addCriterion("CommetId >", value, "commetid");
            return (Criteria) this;
        }

        public Criteria andCommetidGreaterThanOrEqualTo(Long value) {
            addCriterion("CommetId >=", value, "commetid");
            return (Criteria) this;
        }

        public Criteria andCommetidLessThan(Long value) {
            addCriterion("CommetId <", value, "commetid");
            return (Criteria) this;
        }

        public Criteria andCommetidLessThanOrEqualTo(Long value) {
            addCriterion("CommetId <=", value, "commetid");
            return (Criteria) this;
        }

        public Criteria andCommetidIn(List<Long> values) {
            addCriterion("CommetId in", values, "commetid");
            return (Criteria) this;
        }

        public Criteria andCommetidNotIn(List<Long> values) {
            addCriterion("CommetId not in", values, "commetid");
            return (Criteria) this;
        }

        public Criteria andCommetidBetween(Long value1, Long value2) {
            addCriterion("CommetId between", value1, value2, "commetid");
            return (Criteria) this;
        }

        public Criteria andCommetidNotBetween(Long value1, Long value2) {
            addCriterion("CommetId not between", value1, value2, "commetid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Long value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Long value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Long value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Long value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Long value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Long value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Long> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Long> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Long value1, Long value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Long value1, Long value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andPlaceidIsNull() {
            addCriterion("placeId is null");
            return (Criteria) this;
        }

        public Criteria andPlaceidIsNotNull() {
            addCriterion("placeId is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceidEqualTo(Long value) {
            addCriterion("placeId =", value, "placeid");
            return (Criteria) this;
        }

        public Criteria andPlaceidNotEqualTo(Long value) {
            addCriterion("placeId <>", value, "placeid");
            return (Criteria) this;
        }

        public Criteria andPlaceidGreaterThan(Long value) {
            addCriterion("placeId >", value, "placeid");
            return (Criteria) this;
        }

        public Criteria andPlaceidGreaterThanOrEqualTo(Long value) {
            addCriterion("placeId >=", value, "placeid");
            return (Criteria) this;
        }

        public Criteria andPlaceidLessThan(Long value) {
            addCriterion("placeId <", value, "placeid");
            return (Criteria) this;
        }

        public Criteria andPlaceidLessThanOrEqualTo(Long value) {
            addCriterion("placeId <=", value, "placeid");
            return (Criteria) this;
        }

        public Criteria andPlaceidIn(List<Long> values) {
            addCriterion("placeId in", values, "placeid");
            return (Criteria) this;
        }

        public Criteria andPlaceidNotIn(List<Long> values) {
            addCriterion("placeId not in", values, "placeid");
            return (Criteria) this;
        }

        public Criteria andPlaceidBetween(Long value1, Long value2) {
            addCriterion("placeId between", value1, value2, "placeid");
            return (Criteria) this;
        }

        public Criteria andPlaceidNotBetween(Long value1, Long value2) {
            addCriterion("placeId not between", value1, value2, "placeid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNull() {
            addCriterion("deviceId is null");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNotNull() {
            addCriterion("deviceId is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceidEqualTo(Long value) {
            addCriterion("deviceId =", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotEqualTo(Long value) {
            addCriterion("deviceId <>", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThan(Long value) {
            addCriterion("deviceId >", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThanOrEqualTo(Long value) {
            addCriterion("deviceId >=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThan(Long value) {
            addCriterion("deviceId <", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThanOrEqualTo(Long value) {
            addCriterion("deviceId <=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIn(List<Long> values) {
            addCriterion("deviceId in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotIn(List<Long> values) {
            addCriterion("deviceId not in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidBetween(Long value1, Long value2) {
            addCriterion("deviceId between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotBetween(Long value1, Long value2) {
            addCriterion("deviceId not between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andCommettitleIsNull() {
            addCriterion("CommetTitle is null");
            return (Criteria) this;
        }

        public Criteria andCommettitleIsNotNull() {
            addCriterion("CommetTitle is not null");
            return (Criteria) this;
        }

        public Criteria andCommettitleEqualTo(String value) {
            addCriterion("CommetTitle =", value, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleNotEqualTo(String value) {
            addCriterion("CommetTitle <>", value, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleGreaterThan(String value) {
            addCriterion("CommetTitle >", value, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleGreaterThanOrEqualTo(String value) {
            addCriterion("CommetTitle >=", value, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleLessThan(String value) {
            addCriterion("CommetTitle <", value, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleLessThanOrEqualTo(String value) {
            addCriterion("CommetTitle <=", value, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleLike(String value) {
            addCriterion("CommetTitle like", value, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleNotLike(String value) {
            addCriterion("CommetTitle not like", value, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleIn(List<String> values) {
            addCriterion("CommetTitle in", values, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleNotIn(List<String> values) {
            addCriterion("CommetTitle not in", values, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleBetween(String value1, String value2) {
            addCriterion("CommetTitle between", value1, value2, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommettitleNotBetween(String value1, String value2) {
            addCriterion("CommetTitle not between", value1, value2, "commettitle");
            return (Criteria) this;
        }

        public Criteria andCommetcontentIsNull() {
            addCriterion("commetContent is null");
            return (Criteria) this;
        }

        public Criteria andCommetcontentIsNotNull() {
            addCriterion("commetContent is not null");
            return (Criteria) this;
        }

        public Criteria andCommetcontentEqualTo(String value) {
            addCriterion("commetContent =", value, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentNotEqualTo(String value) {
            addCriterion("commetContent <>", value, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentGreaterThan(String value) {
            addCriterion("commetContent >", value, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentGreaterThanOrEqualTo(String value) {
            addCriterion("commetContent >=", value, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentLessThan(String value) {
            addCriterion("commetContent <", value, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentLessThanOrEqualTo(String value) {
            addCriterion("commetContent <=", value, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentLike(String value) {
            addCriterion("commetContent like", value, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentNotLike(String value) {
            addCriterion("commetContent not like", value, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentIn(List<String> values) {
            addCriterion("commetContent in", values, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentNotIn(List<String> values) {
            addCriterion("commetContent not in", values, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentBetween(String value1, String value2) {
            addCriterion("commetContent between", value1, value2, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetcontentNotBetween(String value1, String value2) {
            addCriterion("commetContent not between", value1, value2, "commetcontent");
            return (Criteria) this;
        }

        public Criteria andCommetimageIsNull() {
            addCriterion("CommetImage is null");
            return (Criteria) this;
        }

        public Criteria andCommetimageIsNotNull() {
            addCriterion("CommetImage is not null");
            return (Criteria) this;
        }

        public Criteria andCommetimageEqualTo(String value) {
            addCriterion("CommetImage =", value, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageNotEqualTo(String value) {
            addCriterion("CommetImage <>", value, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageGreaterThan(String value) {
            addCriterion("CommetImage >", value, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageGreaterThanOrEqualTo(String value) {
            addCriterion("CommetImage >=", value, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageLessThan(String value) {
            addCriterion("CommetImage <", value, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageLessThanOrEqualTo(String value) {
            addCriterion("CommetImage <=", value, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageLike(String value) {
            addCriterion("CommetImage like", value, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageNotLike(String value) {
            addCriterion("CommetImage not like", value, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageIn(List<String> values) {
            addCriterion("CommetImage in", values, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageNotIn(List<String> values) {
            addCriterion("CommetImage not in", values, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageBetween(String value1, String value2) {
            addCriterion("CommetImage between", value1, value2, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetimageNotBetween(String value1, String value2) {
            addCriterion("CommetImage not between", value1, value2, "commetimage");
            return (Criteria) this;
        }

        public Criteria andCommetvidioIsNull() {
            addCriterion("CommetVidio is null");
            return (Criteria) this;
        }

        public Criteria andCommetvidioIsNotNull() {
            addCriterion("CommetVidio is not null");
            return (Criteria) this;
        }

        public Criteria andCommetvidioEqualTo(String value) {
            addCriterion("CommetVidio =", value, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioNotEqualTo(String value) {
            addCriterion("CommetVidio <>", value, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioGreaterThan(String value) {
            addCriterion("CommetVidio >", value, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioGreaterThanOrEqualTo(String value) {
            addCriterion("CommetVidio >=", value, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioLessThan(String value) {
            addCriterion("CommetVidio <", value, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioLessThanOrEqualTo(String value) {
            addCriterion("CommetVidio <=", value, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioLike(String value) {
            addCriterion("CommetVidio like", value, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioNotLike(String value) {
            addCriterion("CommetVidio not like", value, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioIn(List<String> values) {
            addCriterion("CommetVidio in", values, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioNotIn(List<String> values) {
            addCriterion("CommetVidio not in", values, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioBetween(String value1, String value2) {
            addCriterion("CommetVidio between", value1, value2, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andCommetvidioNotBetween(String value1, String value2) {
            addCriterion("CommetVidio not between", value1, value2, "commetvidio");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andAdminidIsNull() {
            addCriterion("AdminID is null");
            return (Criteria) this;
        }

        public Criteria andAdminidIsNotNull() {
            addCriterion("AdminID is not null");
            return (Criteria) this;
        }

        public Criteria andAdminidEqualTo(Long value) {
            addCriterion("AdminID =", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotEqualTo(Long value) {
            addCriterion("AdminID <>", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidGreaterThan(Long value) {
            addCriterion("AdminID >", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidGreaterThanOrEqualTo(Long value) {
            addCriterion("AdminID >=", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidLessThan(Long value) {
            addCriterion("AdminID <", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidLessThanOrEqualTo(Long value) {
            addCriterion("AdminID <=", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidIn(List<Long> values) {
            addCriterion("AdminID in", values, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotIn(List<Long> values) {
            addCriterion("AdminID not in", values, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidBetween(Long value1, Long value2) {
            addCriterion("AdminID between", value1, value2, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotBetween(Long value1, Long value2) {
            addCriterion("AdminID not between", value1, value2, "adminid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}